package br.ufc.minijavaufc.ast;

import java.util.ArrayList;

public class AbstractList<T> {

	public ArrayList<T> list = new ArrayList<T>();

	public void add(T t) {
		list.add(t);
	}

	public T getElement(int position) {
		return list.get(position);
	}

	public int size() {
		return list.size();
	}

}
